package com.zhdl.modules.wallpulley.service;

import com.project.common.service.BaseService;
import com.zhdl.modules.wallpulley.entity.WallPulleyWarnInfo;
import com.zhdl.modules.wallpulley.web.req.WallPulleyWarnInfoReq;
import com.zhdl.modules.wallpulley.web.resp.WallPulleyWarnInfoResp;

import java.util.List;

public interface WallPulleyWarnInfoService extends BaseService<WallPulleyWarnInfo, Integer> {
    WallPulleyWarnInfo findWarnInfoById(int id);

    int saveWarnInfos(WallPulleyWarnInfo resp);

    List<WallPulleyWarnInfo> findAllWarnInfo();

    WallPulleyWarnInfo warnReqToEntity(WallPulleyWarnInfoReq warnInfoReq);

    WallPulleyWarnInfoResp warnEntityToResp(WallPulleyWarnInfo warnInfo);

    List<WallPulleyWarnInfo> warnReqsToEntity(List<WallPulleyWarnInfoReq> warnInfoReqs);

    List<WallPulleyWarnInfoResp> warnEntityToResps(List<WallPulleyWarnInfo> warnInfos);
}
